<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core">

<h:body>

 <ui:composition template="includetemplate.xhtml">
	   	<ui:define name="faceHeader">
	   		<ui:include src="headertemplate.xhtml"/> 
	   	</ui:define>
		
		<ui:define name="faceContent">
			<table width="100%" class="mainTableStyle" >
				<tr>
					<td style="width:100%"  align="center">
							
							<table width="600" cellspacing="0px" cellpadding="2" class="TableStyle_1" style="background-color: #F0F0F0;">
							<tr>
								<td colspan="2" align="left" style="background-color: #104E8B;color:white;font-weight:bold;height: 20px;">
									Kunde bearbeiten
								</td>
							</tr>
							<tr>
								<td class="td_font_bold" style="width:200px">ID: </td>
								<td align="left"><h:outputText styleClass="textWidth_1" id="txtKundeId" value="#{kundeManagement.kundeRecordId}" ></h:outputText> </td>
							</tr>
							<tr>
								<td class="td_font_bold" style="width:200px">Name: *</td>
								<td align="left"><h:inputText styleClass="textWidth_1" id="txtKundename" value="#{kundeManagement.name}" required="true"></h:inputText> </td>
							</tr>
							<tr>
								<td class="td_font_bold" style="width:200px">Rechnungsadresse: *</td>
								<td align="left"><h:inputText styleClass="textWidth_1" id="txtRechnungAdrresse" value="#{kundeManagement.rechnungAdrresse}" required="true"></h:inputText> </td>
							</tr>
							
							<tr>
								<td class="td_font_bold" style="width:200px">Firmenname: </td>
								<td align="left"><h:inputText styleClass="textWidth_1" id="txtFirmenname" value="#{kundeManagement.firmenname}" ></h:inputText> </td>
							</tr>
							
							<tr>
								<td class="td_font_bold" style="width:200px">Notiz: *</td>
								<td align="left"><h:inputText styleClass="textWidth_1" id="txtNotiz" value="#{kundeManagement.notiz}" required="true"></h:inputText> </td>
							</tr>
							
							<tr>
								<td class="td_font_bold" style="width:200px">Rabatt: *</td>
								<td align="left"><h:inputText styleClass="textWidth_1" id="txtRabatt" value="#{kundeManagement.rabatt}" required="true"></h:inputText> </td>
							</tr>
							
							<tr>
								<td class="td_font_bold" style="width:200px">Tel: *</td>
								<td align="left"><h:inputText styleClass="textWidth_1" id="txtTel" value="#{kundeManagement.tel}" required="true"></h:inputText> </td>
							</tr>
							
							
							<tr>
								<td class="td_font_bold" style="width:200px">E-Mail: *</td>
								<td align="left"><h:inputText styleClass="textWidth_1" id="txtEmail" value="#{kundeManagement.email}" required="true"></h:inputText> </td>
							</tr>
							
								<tr>
								<td class="td_font_bold" style="width:200px">WEB: *</td>
								<td align="left"><h:inputText styleClass="textWidth_1" id="txtWeb" value="#{kundeManagement.web}" required="true"></h:inputText> </td>
							</tr>
							
								<tr>
								<td class="td_font_bold" style="width:200px">Fax: *</td>
								<td align="left"><h:inputText styleClass="textWidth_1" id="txtFax" value="#{kundeManagement.fax}" required="true"></h:inputText> </td>
							</tr>
							<tr>
								<td>&nbsp;</td>
								<td align="left">
									<h:commandButton value="speichern" action="#{kundeManagement.editKunde}" styleClass="buttonStyle"></h:commandButton>
								</td>
							</tr>
							
							
						</table>
							
						
					</td>
				</tr>
			</table>
		</ui:define>
	
	</ui:composition>
</h:body>
</html>